Skip to content

Comments

Used qodercli to add qodercli support#105

Open
dagelf wants to merge 3 commits intoTinyAGI:mainfrom
dagelf:main
Open

Used qodercli to add qodercli support#105
dagelf wants to merge 3 commits intoTinyAGI:mainfrom
dagelf:main

Conversation

@dagelf
Copy link

@dagelf dagelf commented Feb 16, 2026

Also fixed the setup so it doesn't bail out prematurely if you make a typo

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3ac8b50f5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

case "$MODEL_CHOICE" in
1) MODEL="sonnet" ;;
2) MODEL="opus" ;;
read -rp "Choose [1-3, s]: " PROVIDER_CHOICE

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Break out when setup wizard input stream closes

The new retry loop does not check whether read succeeded, so if stdin reaches EOF (for example in a non-interactive/heredoc run with missing answers, or after Ctrl-D), PROVIDER_CHOICE stays empty, matches the * branch, and while [ -z "$PROVIDER" ] repeats forever. This is a regression from the previous behavior, which exited on invalid provider input, and it can hang automated setup jobs until they are force-killed.

Useful? React with 👍 / 👎.

Copy link
Author

@dagelf dagelf Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intended behavior, it loops until a valid selection is made, so as to not invalidate previous entries erroneously, this is not an automated but an interactive setup tool.

@dagelf
Copy link
Author

dagelf commented Feb 16, 2026

Oops this was v1, v2 incoming

@jlia0
Copy link
Collaborator

jlia0 commented Feb 17, 2026

Oops this was v1, v2 incoming

can i close this pr then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants